package com.yuyou.fn.educational.service;

import com.github.wens.mybatisplus.plugins.Page;
import com.yuyou.fn.educational.entity.Student;
import com.github.wens.framework.service.ISuperService;
import com.yuyou.fn.educational.vo.StudentDetailVo;
import com.yuyou.fn.educational.vo.StudentSaveOrUpdateVo;

import java.util.List;

/**
 *@author  Terry
 * Student 表数据服务层接口
 *
 */
public interface IStudentService extends ISuperService<Student,Long> {


    Page<Student> findStudentByKeyword( String keyword, int pageNo , int pageSize);

     Long saveOrUpdateStudent(StudentSaveOrUpdateVo studentSaveOrUpdateVo);


    StudentDetailVo findStudentDetailByStudentId(Long studentId);

    Student findByNameAndPhone(Student student);
}